package com.example.exception;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author Jonathan
 * 2021/4/24 12:40
 */
public class ErrorMsg {
    @JsonProperty("error_code")
    private String errorCode;
    @JsonProperty("error_msg")
    private String errorMsg;

    public ErrorMsg(String errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }
}
